package com.impl;

import com.Person;

public class Student implements Person {

    private String name;//学生名字

    public Student(String name) {
        this.name = name;
    }

    @Override
    public void giveMoney() {
        System.out.println(name+":上交了50元班费");
    }
}
